package com.drivers.historyorder.mapper;

import com.drivers.model.historyorder.*;

import java.util.List;

public interface HistoryOrderMapper {
    //查询司机订单基本信息
    List<OrderInformation> findOrderInformation(Integer driverId);
    //查询订单费用根据订单编号
    OrderCost findOrderCost(String orderId);
    //查询订单时间根据订单编号
    OrderTime findOrderTime(String orderId);
    //查询用户基本信息根据用户ID
    UserPersonal findUser(Integer userId);
    //添加司机反馈
    void addFeedBack(DriverFeedBack driverFeedBack);
    //添加司机评价
    void addAppraise(OrderAppraise orderAppraise);
    //查询司机评价根据订单编号
    OrderAppraise findOrderAppraiseByOrderId(String orderId);
    //修改司机评价
    void updateAppraise(OrderAppraise orderAppraise);
    //查询司机反馈根据订单编号
    DriverFeedBack findFeedBack(String orderId);
    //修改司机反馈
    void updateFeedBack(DriverFeedBack dialogFeedBack);

    OperatePassengerCharges findpass();

    OperateDriverCharges finddriver();

    OrderInformation findone(String orderId);
}
